import pandas as pd

pd.set_option('expand_frame_repr', False)  # 当列太多时显示不清楚
df = pd.read_csv(filepath_or_buffer='../../data/sh600000.csv',
                 encoding='gbk',
                 sep=',',
                 skiprows=1,
                 usecols=['股票代码','交易日期','开盘价','最高价','最低价','收盘价'])
pd.set_option("display.max_rows",20)
print(df)